package com.it.exception;
// 1.必须让这个类继承RuntimeException，才能成为一个运行时异常类
public class AgeIllegalRuntimeException  extends RuntimeException{
    public AgeIllegalRuntimeException() {
    }

    public AgeIllegalRuntimeException(String message) { // String message 封装异常原因
        super(message);
    }
}
